#include<iostream>
#include<string>
using namespace std;


class AA {
private:
	int age;
public:
	AA(int a){
		age=a;
		cout<<"AA...构造函数"<<endl;
	}
};

class BB:public AA{
public:
	BB(int s):AA(s){
		b=s;
		cout<<"BB...构造函数"<<endl;
	}
private:
	int b;
};

int main21(){
	BB bs(1);

	cout<<"endl"<<endl;
	return 0;
}
